package com.wxh.bomb.netty.thread.thread.file;

import java.io.FileNotFoundException;

public class ReadThread {
	MyFile[] myfiles=null; 
    public ReadThread(MyFile[] myfiles){ 
        this.myfiles=myfiles; 
    } 
     
    public void print(){ 
        for(int i=0;i<myfiles.length;i++){ 
            try {
				System.out.println(myfiles[i].readStr());
			} catch (FileNotFoundException e) {
				e.printStackTrace();
			} 
        } 
    } 

}
